$def with(posts, pager)
<table class="table">
	<thead>
		<tr>
			<th>发表时间</th>
			<th>标题</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		$for post in posts:
			<tr>
				<td width="150">$post.created</td>				
				<td><a href="/post/$post.id" target="_blank">$post.title</a></td>				
				<td width="70">
					<a href="/edit/$post.id">编辑</a>
					<a href="/delete/$post.id" class="delete">删除</a>
				</td>				
			</tr>
	</tbody>
</table>

$:pager

<script type="text/javascript">
	Swallow.deleteComfirm('.delete');
</script>